package com.pet.server.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 服务表
 *
 * @author Centaurea
 */
@ApiModel(value = "com-pet-server-domain-entity-Serve")
@Data
@NoArgsConstructor
@TableName(value = "t_serve")
public class Serve implements Serializable {
  private static final long serialVersionUID = -1442905786252605414L;
  public static final String COL_ID = "id";
  public static final String COL_SERVE_NAME = "serve_name";
  public static final String COL_SERVE_SCHEDULE = "serve_schedule";
  public static final String COL_SERVE_PRICE = "serve_price";
  public static final String COL_SERVE_GRADE = "serve_grade";
  public static final String COL_SERVE_TYPE = "serve_type";
  public static final String COL_SERVE_STANDER = "serve_stander";
  public static final String COL_USAGE_STANDER = "usage_stander";
  public static final String COL_TIME_CONSUMING = "time_consuming";
  public static final String COL_SHOP_ID = "shop_id";

  /** 服务ID */
  @TableId(value = "id", type = IdType.AUTO)
  @ApiModelProperty(value = "服务ID")
  private Integer id;

  /** 服务名称 */
  @TableField(value = "serve_name")
  @ApiModelProperty(value = "服务名称")
  private String serveName;

  /** 服务排期 */
  @TableField(value = "serve_schedule")
  @ApiModelProperty(value = "服务排期")
  private String serveSchedule;

  /** 服务价格 */
  @TableField(value = "serve_price")
  @ApiModelProperty(value = "服务价格")
  private Double servePrice;

  /** 服务等级 */
  @TableField(value = "serve_grade")
  @ApiModelProperty(value = "服务等级")
  private String serveGrade;

  /** 服务品类 */
  @TableField(value = "serve_type")
  @ApiModelProperty(value = "服务品类")
  private String serveType;

  /** 服务规格 */
  @TableField(value = "serve_stander")
  @ApiModelProperty(value = "服务规格")
  private String serveStander;

  /** 适用规格 */
  @TableField(value = "usage_stander")
  @ApiModelProperty(value = "适用规格")
  private String usageStander;

  /** 服务耗时 */
  @TableField(value = "time_consuming")
  @ApiModelProperty(value = "服务耗时")
  private String timeConsuming;

  /** 门店ID */
  @TableField(value = "shop_id")
  @ApiModelProperty(value = "门店ID")
  private Integer shopId;
}
